package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SystemDictionary;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryService {
    PageInfo<SystemDictionary> selectByQo(QueryObject queryObject);

    SystemDictionary selectBydeptId(Long deptId);

    void saveOrUpdate(SystemDictionary systemDictionary);

    void deleteBydeptId(Long deptId);

    List<SystemDictionary> selectAll();


    SystemDictionary selectById(Long parentId);
}
